home *** CD-ROM | disk | FTP | other *** search
- Path: slip-46-7.ots.utexas.edu!user
- From: brians@pbcomputing.com (Brian Stern)
- Newsgroups: comp.sys.mac.programmer.codewarrior,comp.sys.mac.programmer.help,comp.lang.c++
- Subject: Re: mac INIT loading order
- Date: 2 Apr 1996 07:13:50 GMT
- Organization: The University of Texas at Austin, Austin, Texas
- Message-ID: <brians-0204960110360001@slip-46-7.ots.utexas.edu>
- References: <schiltz-0104962111000001@reqd-010.ucdavis.edu>
- NNTP-Posting-Host: slip-46-7.ots.utexas.edu
-
- In article <schiltz-0104962111000001@reqd-010.ucdavis.edu>,
- schiltz@cs.ucdavis.edu (Michael Schiltz) wrote:
-
- <how can you control the order in which an INIT loads. I want to have my
- <INIT load ASAP. any ideas?
- <Thanks in advance,
- <mike
- <schiltz@cs.ucdavis.edu
- <
- <--
- <-Through the modem, past the router, over the firewall.. nothing but Net -
-
- Extensions are loaded in a defined order. Resources of type 'INIT' can be
- found in files of type 'INIT' (System Extension), 'cdev' (Control Panel),
- 'RDEV' (Chooser Device), 'appe' (application extension), and 'scri'
- (script system extensions). In order to be loaded, the INIT resource must
- be in one of these file types in one of several locations in the System
- Folder.
-
- Under system 7 INITs are loaded first from the Extensions Folder in
- alphabetical order. INITs present in script system extension files
- (filetype 'scri') load before INITs present in system extension files
- (filetype 'INIT'). Next, any INITs in the Control Panels folder are
- loaded in alphabetical order. Any INITs present at the root level of the
- System Folder are loaded after that. This order of loading is important
- if an extension is dependent on the presence of another extension. For
- example, if an INIT resource in an INIT file named 'SpeakAll' is dependent
- on the presence of the 'Speech Manager' extension, it either needs to have
- its name changed to something that sorts after 'Speech Manager' or it has
- to be located in the Control Panels folder, since extensions in the
- Control Panels folder load after extensions in the Extensions Folder.
-
-
- You can find more nifty info about inits in the INIT writing FAQ to be
- found at the url mentioned below in my sig.
-
- ____________________________________________________________________
- Brian Stern {8-{)} BeBox Hairy Guy Stern@metrowerks.com BrianS@pbcomputing.com
- INIT Writing FAQ etc. at <ftp://ftp.pbcomputing.com//Guests/BrianS/>
-